package com.hm.prac2;

public class Test {
    public static void main(String[] args) {
        Person.Heart heart = new Person().new Heart();
        System.out.println(heart.num1);
        heart.test1();
        Person.Gastric gastric = new Person.Gastric();
        gastric.test();
        //这种书写方式被禁用了，因为main方法的问题
        Person p = new Person();
//        Person.Gastric gastric1 = p.new Gastric();

    }
}
